//
// Created by liu on 2023/1/19.
//

#ifndef MULTIBUTTON_HARDWARE_CONFIG_H
#define MULTIBUTTON_HARDWARE_CONFIG_H


#include "main.h"
#include "led.h"
//#include "button.h"

/**
 * @brief 板载led控制
 * @param[in]   level
 */
void board_led_set_level(uint8_t level);

/**
 * @brief 用户led控制
 * @param level
 */
void user_led_set_level(uint8_t level);




//uint8_t left_btn_pressed(struct button* btn);

uint32_t btn_get_tick();


uint8_t get_btn_level();





#endif //MULTIBUTTON_HARDWARE_CONFIG_H
